<!DOCTYPE html>
<body>
<p style="text-decoration: overline; text-decoration-color: #44cc44;">
  <span>Should have</span>
  only overline.
</p>
<svg xmlns="http://www.w3.org/2000/svg" width="600" height="100">
 <text style="text-decoration: overline;" y="20">
  <tspan>Should have</tspan> only overline.
 </text>
</svg>

<svg xmlns="http://www.w3.org/2000/svg" width="600" height="100"
     xmlns:xlink="http://www.w3.org/1999/xlink">
 <text id="text2" y="20"><tspan>Should have</tspan> no overline.</text>
</svg>
</body>
